<%= render_agile_charts_breadcrumb %>

<%= @query.new_record? ? l(:label_agile_chart_plural) : h(@query.name) %>

<% html_title(@query.new_record? ? l(:label_agile_chart_plural) : @query.name) %> <%= form_tag({ :controller => 'agile_charts', :action => 'show', :project_id => @project }, :method => :get, :id => 'query_form') do %>
<%= hidden_field_tag 'set_filter', '1' %>
"> <%= l(:label_filter_plural) %>
"> <%= render :partial => 'queries/filters', :locals => {:query => @query} %>

<%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %> <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>

<% end %> <%= error_messages_for 'query' %> <%= render_agile_chart(@chart, @issues) if @query.valid? %> <% content_for :header_tags do %> <%= chartjs_assets %> <% end %> <% content_for :sidebar do %> <%= render :partial => 'agile_boards/issues_links' %> <%= render :partial => 'agile_charts/agile_charts' %> <% end %>